FROM registry.cn-hangzhou.aliyuncs.com/dockerhub_mirror/mysql-server:8.0.32

MAINTAINER chenda(chendainfo@gmail.com)

ENV TZ=Asia/Shanghai
ENV LANG C.UTF-8

RUN ln -sf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

COPY ./1schema.sql /docker-entrypoint-initdb.d

COPY ./2cfpx.sql /docker-entrypoint-initdb.d

COPY ./3cfpx_flow.sql /docker-entrypoint-initdb.d

COPY ./4cfpx_job.sql /docker-entrypoint-initdb.d

COPY ./5cfpx_mp.sql /docker-entrypoint-initdb.d

COPY ./6cfpx_config.sql /docker-entrypoint-initdb.d

COPY ./7cfpx_pay.sql /docker-entrypoint-initdb.d

COPY ./8cfpx_codegen.sql /docker-entrypoint-initdb.d

COPY ./9cfpx_ai.sql /docker-entrypoint-initdb.d

COPY ./99cfpx_bi.sql /docker-entrypoint-initdb.d

COPY ./999cfpx_app.sql /docker-entrypoint-initdb.d
